package junit.test.demo;

import com.gohi.main.util.MD5;
import com.gohi.main.util.MsgUtils;
import com.gohi.main.wxpay.api.util.MD5Util;
import com.jianzhou.sdk.BusinessService;

public class testMain {
	public static void main(String[] args) {
	BusinessService bs = new BusinessService();
		bs.setWebService("http://www.jianzhou.sh.cn/JianzhouSMSWSServer/services/BusinessService");
		System.out.println("333:" + bs.sendBatchMessage("sdk_goomeirong", "881230", "13794317582", "验证码：1234，仅用于注册，请勿告知他人【约美丽】"));
		//
	 //bs.sendBatchMessage("sdk_goomeirong", "881230", "18606160344", "您已成功预约$store$beautician XXXX年XX月XX号 XX:XX:00-XX:XX:00 的服务，到店请出示消费码："+"+getpwd()+"+"，请勿爽约，店家联系方式：18606160344【约美丽】");
		
	//String text  =MsgUtils.getYuyue("测试商铺", "2015年5月1号 9点40", "特殊服务", getpwd(), "18606160344");
  // 	System.err.println(text);
//	MsgUtils.SendMsg("18606160344", text);
   //System.err.println(getpwd());*/
		
	}
	
	public static String getpwd(){
		return  Math.round(Math.random()*9000+1000)+""+ Math.round(Math.random()*9000+1000)+""+ Math.round(Math.random()*9000+1000);
	}
}
